//
//  NSWorkspace+WCExtensions.m
//  WabbitCode
//
//  Created by William Towe on 2/1/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import "NSWorkspace+WCExtensions.h"


@implementation NSWorkspace (WCExtensions)
- (NSImage *)smallIconForFile:(NSString *)absoluteFilePath; {
	static NSSize smallSize = {16.0, 16.0};
	NSImage *image = [self iconForFile:absoluteFilePath];
	[image setSize:smallSize];
	return image;
}

- (NSImage *)smallIconForFileType:(NSString *)fileExtension; {
	static NSSize smallSize = {16.0, 16.0};
	NSImage *image = [self iconForFileType:fileExtension];
	[image setSize:smallSize];
	return image;
}
@end
